﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 圆的计算
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入圆的半径R：");
            double R =Convert.ToDouble(Console.ReadLine());
            double S=3.14*R*R;
            Console.WriteLine("面积是："+S);
            double C=2*3.14*R;
            Console.WriteLine("周长是："+C);
            Console.ReadLine();
        }
        
    }
}
